<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ include file="/include/jsp/tjCommon.jsp" %>
<%@ page import="com.tjsoft.lk.app.common.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- 刷新时间 秒 -->
<meta http-equiv="refresh" content="300"> 
<title></title>
<link href="/include/css/default.css" rel="stylesheet" type="text/css">
</head>
<body style="background-color=transparent">
<script language="javascript">
function click() {
  if (event.button==2) { 
    alert('禁止使用鼠标右键!')
  }
}
document.onmousedown=click
</script> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td id='bbb'>
	<marquee scrollamount="21" scrolldelay="3000" direction="UP" width="300" height="22" onmouseover=this.stop() onmouseout=this.start()  id="tablecontent">
	</marquee>
	</td>
  </tr>
</table>
<%
String UserGrade=loginUser.getGrade();
%>
<SCRIPT>
//创建泡泡提示
var oPopup = window.createPopup();
//泡泡显示出发坐标
var popTop=50;
function popmsg(msgstr){
var winstr="<table width=\"234\" height=\"182\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"  background=\"/images/marquee/popup.jpg\">";
winstr+="<tr><td height=\"5\"> </td></tr><tr><td align=\"center\"><table width=\"90%\" border=\"0\" align=\"right\" style=\"font-size:12px; color: black; face: Tahoma\">";
winstr+=msgstr+"</table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
	if(popTop>1720){
		clearTimeout(mytime);
		oPopup.hide();
		return;
	}else if(popTop>1520&&popTop<1720){
		oPopup.show(screen.width-250,screen.height,233,1720-popTop);
	}else if(popTop>1500&&popTop<1520){
		oPopup.show(screen.width-250,screen.height+(popTop-1720),233,179);
	}else if(popTop<180){
		oPopup.show(screen.width-250,screen.height,233,popTop);
	}else if(popTop<220){
		oPopup.show(screen.width-250,screen.height-popTop,233,179);
	}
	popTop+=10;
	var mytime=setTimeout("popshow();",50);
}
<%
//取得要显示的信息
  InstantInfoApprovalHelper mInstantInfoApprovalHelper=new InstantInfoApprovalHelper();
%>
//提示信息行
var popmsg1="<%=mInstantInfoApprovalHelper.getApprovalInstantInfoString(UserGrade,DepartID,UserID)%>";
if(popmsg1.length!=0)
	//显示泡泡
	popmsg(popmsg1);
	//显示右下角
tablecontent.innerHTML = "<table border='0' cellspacing='0' cellpadding='0'>"+popmsg1+"</table>";
</SCRIPT>
</body>
</html>
